import 'package:flutter/material.dart';
import 'package:yb_zsyiji_androidflutter_pro/YBEngineer/YBBaseRouter/YBApplication.dart';
import 'package:yb_zsyiji_androidflutter_pro/YBHelper/YBImageStyle/YBImageStyle.dart';
import 'package:yb_zsyiji_androidflutter_pro/YBHelper/YBTextStyle/YBTextStyle.dart';
import 'package:yb_zsyiji_androidflutter_pro/YBHelper/yb_chinese_text/yb_chinese_text.dart';

class YBQiYePersonPage extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return Container(
        child: Scaffold(
          appBar: AppBar(
            elevation: 0,
            title: Text(
              YBChineseText.mineAuthListTitle,
              style: YBTextStyle.TextStyle30313320Medium
            ),
          ),
          body: SingleChildScrollView(
            child: Padding(
              padding:EdgeInsets.only(left: YBTextStyle.adapterSize20,right: YBTextStyle.adapterSize20),
              child: Column(
                children: [
                  Container(
                    height: YBTextStyle.adapterSize10,
                  ),
                  InkWell(
                    child: Container(
                      child: Stack(
                        children: [
                          Container(
                            child: Image.asset(YBImageStyle.getImagePath('qiye_blue')),
                          ),
                          Container(
                            child: Padding(
                              padding: EdgeInsets.only(left: YBTextStyle.adapterSize16,right: YBTextStyle.adapterSize16),
                              child: Column(
                                mainAxisAlignment: MainAxisAlignment.start,
                                crossAxisAlignment: CrossAxisAlignment.stretch,
                                children: [
                                  Container(
                                    height: YBTextStyle.adapterSize26,
                                  ),
                                  Container(
                                    child: Text(
                                      YBChineseText.mineQiYeAuthTitle,
                                      style: YBTextStyle.TextStyleFFFFFF16,
                                    ),
                                  ),
                                  Container(
                                    height: YBTextStyle.adapterSize10,
                                  ),
                                  Container(
                                    child: Text(
                                      'ENTERPRIESE',
                                      style: YBTextStyle.TextStyleFFFFFF16,
                                    ),
                                  ),
                                  Container(
                                    height: 20,
                                  ),
                                  Container(
                                    child: Text(
                                      '适用于企业、个体工商户、事业单位、社会团体，通过营业执照、法人身份证等相关资质进行认证，提交后一个工作内完成审核。',
                                      style: YBTextStyle.TextStyleFFFFFF12,
                                    ),
                                  ),
                                ],
                              ),
                            ),
                          ),
                        ],
                      ),
                    ),
                    onTap: (){
                      YBApplication.router.navigateTo(context, '/mine/mineQiYePersonPage/mineQiYeMainAuthPage');
                    },
                  ),
                  Container(
                    height: YBTextStyle.adapterSize50,
                  ),
                  InkWell(
                    child: Container(
                      child: Stack(
                        children: [
                          Container(
                            child: Image.asset(YBImageStyle.getImagePath('person_fengse')),
                          ),
                          Container(
                            child: Padding(
                              padding: EdgeInsets.only(left: YBTextStyle.adapterSize16,right: YBTextStyle.adapterSize16),
                              child: Column(
                                mainAxisAlignment: MainAxisAlignment.start,
                                crossAxisAlignment: CrossAxisAlignment.stretch,
                                children: [
                                  Container(
                                    height: YBTextStyle.adapterSize26,
                                  ),
                                  Container(
                                    child: Text(
                                      '个人认证',
                                      style: YBTextStyle.TextStyleFFFFFF16,
                                    ),
                                  ),
                                  Container(
                                    height: YBTextStyle.adapterSize10,
                                  ),
                                  Container(
                                    child: Text(
                                      'PERSONAL',
                                      style: YBTextStyle.TextStyleFFFFFF16,
                                    ),
                                  ),
                                  Container(
                                    height: YBTextStyle.adapterSize20,
                                  ),
                                  Container(
                                    child: Text(
                                      '适用于自由职业者、媒体从业者，法律从业者，通过个人身份证进行认证，提交后一个工作内完成审核。',
                                      style: YBTextStyle.TextStyleFFFFFF12,
                                    ),
                                  ),
                                ],
                              ),
                            ),
                          ),
                        ],
                      ),
                    ),
                    onTap: (){
                      YBApplication.router.navigateTo(context, '/mine/mineQiYePersonPage/minePersonMainAuthPage');
                    },
                  ),
                  Container(
                    height: YBTextStyle.adapterSize23,
                  ),
                  Container(
                    child: Text(
                      "温馨提示：身份认证审核需一个工作日，如有疑问请联系客服",
                      style: YBTextStyle.TextStyle969AA314light,
                    ),
                  ),
                ],
              ),
            ),
          ),
        ),
    );
  }
}
